package com.xique.park.constant.message;

/**
 * Created by IntelliJ IDEA.
 * 通道相关常量
 * @author Administrator
 * description:
 * path: park2020-com.jzy.constant.message-LaneDtConstants
 * date: 2020/8/20 15:44
 */
public class LaneDtConstants {
    /*********************通道地感状态*********************/
    public static final String IS_SENSE = "is_sense";
    public static final Integer IS_SENSE_Y = 1;
    public static final Integer IS_SENSE_N = 0;

    /*********************通道道闸状态*********************/
    public static final String IS_GATE_STATE = "is_gate_state";
    public static final Integer IS_GATE_STATE_Y = 1;
    public static final Integer IS_GATE_STATE_N = 0;

    /*********************通道LED显示屏*********************/
    public static final String IS_LED = "is_led";
    public static final Integer IS_LED_Y = 1;
    public static final Integer IS_LED_N = 0;
    public static final String ROWS = "rows";
    public static final String ROW1 = "row1";
    public static final String ROW1_DEF = "row1_def";
    public static final String ROW2 = "row2";
    public static final String ROW2_DEF = "row2_def";
    public static final String ROW3 = "row3";
    public static final String ROW3_DEF = "row3_def";
    public static final String ROW4 = "row4";
    public static final String ROW4_DEF = "row4_def";
    public static final String ROW1_FREE = "row1_free";
    public static final String ROW1_FREE_DEF = "row1_free_def";
    public static final String ROW2_FREE = "row2_free";
    public static final String ROW2_FREE_DEF = "row2_free_def";
    public static final String ROW3_FREE = "row3_free";
    public static final String ROW3_FREE_DEF = "row3_free_def";
    public static final String ROW4_FREE = "row4_free";
    public static final String ROW4_FREE_DEF = "row4_free_def";

    //TODO 显示屏每行显示内容类型
    public static final Integer ROW_TYPE_1 = 1;

    /*********************通道基本配置*********************/
    public static final String LANE_ID = "lane_id";
    //车库id
    public static final String GARAGE_ID = "garage_id";
    //出车库id
    public static final String OUT_GARAGE_ID = "out_garage_id";
    //入车库id
    public static final String IN_GARAGE_ID = "in_garage_id";
    //通道类型
    public static final String LANE_TYPE = "lane_type";
    /**通道类型：入口*/
    public static final Integer LANE_TYPE_IN = 1;
    /**通道类型：出口*/
    public static final Integer LANE_TYPE_OUT = 2;
    /**通道类型：双向通道*/
    public static final Integer LANE_TYPE_BOTH = 3;
    //通道模式
    public static final String LANE_MODEL = "model";
    /**通道模式：标准模式*/
    public static final Integer LANE_MODEL_STANDARD = 1;
    /**通道模式：地感模式*/
    public static final Integer LANE_MODEL_GROUND = 2;
    /**通道模式：AI车牌防伪方式*/
    public static final Integer LANE_MODEL_AI = 3;
    public static final String SAME_PLATE_INTERVAL = "same_plate_interval";

    /*********************通道语音*********************/
    public static final String LOW_VOICE_TIME = "low_voice_time";
    public static final String LOW_VOICE_VOLUME = "low_voice_volume";
    public static final String HIGH_VOICE_TIME = "high_voice_time";
    public static final String HIGH_VOICE_VOLUME = "high_voice_volume";
    public static final String PORT1 = "port1";
    public static final String PORT2 = "port2";
    public static final String IS_BOARD = "is_board";
    public static final String BAUD = "baud";
    public static final String ADDR = "addr";
    public static final String VOICE_TYPE = "type";

    /********************音量测试**********************/
    public static final String VOICE_VOLUME = "volume";

    /**图片分辨率*/
    public static final String RESOLUTION = "resolution";

    /*********************二维码**********************/
    //是否在控制板显示二维码
    public static final String IS_QRCODE = "is_qrcode";
    public static final Integer IS_QRCODE_Y = 1;
    public static final Integer IS_QRCODE_N = 0;
    //通道二维码url地址
    public static final String LANE_QRCODE = "lane_qrcode";

    /*********************是否启用车牌防伪**********************/
    public static final String IS_FAKE = "is_fake";
    public static final Integer IS_FAKE_Y = 1;
    public static final Integer IS_FAKE_N = 0;
    public static final String FAKE_TIME = "fake_time";

    /**发送付款码参数：扫描仪扫描到的值*/
    public static final String QRCODE = "qrcode";

    /****************是否允许无牌车任意扫码进出****************/
    public static final String IS_FREE_SCAN = "is_free_scan";
    public static final Integer IS_FREE_SCAN_1 = 1;
    public static final Integer IS_FREE_SCAN_0 = 0;

    /****************是否缴费通行（用于内场进出）****************/
    public static final String IS_PAY_PASS = "is_pay_pass";
    public static final Integer IS_PAY_PASS_1 = 1;
    public static final Integer IS_PAY_PASS_0 = 0;

}
